package com.zzq.my.jetpacks.jectpackapp.ui.act

import android.view.View
import androidx.fragment.app.Fragment
import by.kirich1409.viewbindingdelegate.viewBinding
import com.aisier.architecture.base.BaseActivity
import com.jennifer.andy.androidxlazyload.demo.adapter.FragmentLazyPagerAdapter
import com.jennifer.andy.androidxlazyload.demo.adapter.FragmentLazyStatePageAdapter
import com.zzq.my.jetpacks.jectpackapp.*
import com.zzq.my.jetpacks.jectpackapp.databinding.Activity1Binding
import com.zzq.my.jetpacks.jectpackapp.databinding.Activity3Binding
import com.zzq.my.jetpacks.jectpackapp.databinding.Activity4Binding
import com.zzq.my.jetpacks.jectpackapp.ui.fragment.FourFragment
import com.zzq.my.jetpacks.util.loadFragments
import com.zzq.my.jetpacks.util.loadRootFragment
import com.zzq.my.jetpacks.util.showHideFragment

/**
 * 描述：- Activity 嵌入 Fragment
 * 作者：zhuangzeqin
 * 时间: 2022/1/18-17:04
 * 邮箱：zzq@eeepay.cn
 * 备注:
 */
class Activity4 : BaseActivity(R.layout.activity_4){
    private val binding by viewBinding(Activity4Binding::bind)


    /**
     * 初始化数据
     */
    override fun initData() {
        //加载根Fragment
        loadRootFragment(binding.flContainer.id,FourFragment.newInstance())
    }

    /**
     * 初始化操作
     */
    override fun initView() {

    }

    /**
     * 初始化点击事件操作
     */
    override fun eventOnClick() {


    }

}